<?php

namespace app\index\controller;

class Index
{
    /**
     * 网站首页
     * @method：get
     */
    public function index(){
        $data=array();
        $data["request"]=request()->param();
        return view("index/index/index",$data);
    }

    /**
     * 测试
     * @method：get
     */
    public function test(){
        $data=array();
        $data["request"]=request()->param();
        return view("index",$data);
    }

    /**
     * 混淆ID
     * @method：get
     */
    public function convert(){
        dd(setting("","all"));
        $number=1500;
        $str=app("ltcmsConfusionCode")->enCode($number);
        $de_str=app("ltcmsConfusionCode")->deCode($str);
        dd($str,$de_str);
    }
}